package cn.edu.xmu.visionclick.entity;


public enum Priority{
	Blocker,
	Critical,
	Major,
	Minor,
	Trivial;
	public static Priority parse(int p){
		switch(p){
		case 0:return Priority.Blocker;
		case 1:return Priority.Critical;
		case 2:return Priority.Major;
		case 3:return Priority.Minor;
		case 4:return Priority.Trivial;
		}
		return Priority.Trivial;
	}
}
